package com.kch.system.mapper;

import com.kch.system.domain.OtherConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OtherConfigMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OtherConfig record);

    int insertSelective(OtherConfig record);

    OtherConfig selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OtherConfig record);

    int updateByPrimaryKey(OtherConfig record);

    OtherConfig selectByCloCode(@Param("code") String code, @Param("id") Integer id);

    List<OtherConfig> selectByCloCodeList(@Param("list") List<String> codes, @Param("config") OtherConfig config);

    List<String> selectByCode(@Param("code") String code);
}